function Loading(list){
    base(this,LSprite,[]);//此类继承Sprite
    var self=this;
    self.complete=null;
    self.progress=null;
}

Loading.prototype.init=function(_data,_auto){
    var self=this;
    self.loadData=_data;
    self.auto=_auto;
}

Loading.prototype.start=function(){
    var self=this;
    if(self.auto==true){
        self.loadingLayer = new LoadingSample5();
        baseLayer.addChild(self.loadingLayer);
    }

    LLoadManage.load(
        self.loadData,
        function(progress){
            if(self.loadingLayer){
                self.loadingLayer.setProgress(progress);
            }else if(self.progress){
                self.progress(progress);
            }
        },
        function(result){
            if(self.loadingLayer){
                baseLayer.removeChild(self.loadingLayer);
            }
            if(self.complete){
                self.complete(result);
            }
        }
    );
}